package com.shangdiao.sd_server.dao.mybatis;

import com.shangdiao.sd_server.generator.pojo.SdPersonPhoto;
import com.shangdiao.sd_server.generator.pojo.SdPersonPhotoExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface SdPersonPhotoMapper {
    int countByExample(SdPersonPhotoExample example);

    int deleteByExample(SdPersonPhotoExample example);

    int deleteByPrimaryKey(Integer personPhotoId);

    int insert(SdPersonPhoto record);

    int insertSelective(SdPersonPhoto record);

    List<SdPersonPhoto> selectByExample(SdPersonPhotoExample example);

    SdPersonPhoto selectByPrimaryKey(Integer personPhotoId);

    int updateByExampleSelective(@Param("record") SdPersonPhoto record, @Param("example") SdPersonPhotoExample example);

    int updateByExample(@Param("record") SdPersonPhoto record, @Param("example") SdPersonPhotoExample example);

    int updateByPrimaryKeySelective(SdPersonPhoto record);

    int updateByPrimaryKey(SdPersonPhoto record);
}